package com.coocaa.ops.admin.v1.auth.sys.biz;

import com.coocaa.ops.admin.v1.auth.sys.mapper.ISysLogLoginMapper;
import com.coocaa.ops.common.core.base.IBaseBiz;
import com.coocaa.ops.common.core.biz.auth.entity.SysLogLoginEntity;
import com.coocaa.ops.common.core.biz.auth.entity.SysUserEntity;

/**
 * @author bijiahao
 * @date : 2019/3/18.
 * @description
 */
public interface ISysLogLoginBiz extends IBaseBiz<ISysLogLoginMapper, SysLogLoginEntity> {

    /**
     * 保存登录日志
     * @param loginIp
     * @param user
     * @param userAgent
     */
    void  saveSysLogLogin(String loginIp, SysUserEntity user, String userAgent);

}
